﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DemoStock.Common;

namespace DemoStock.Model
{
    public class Record : NotifyBase
    {
        private string name;
        private string code;
        private string volume;
        private float prePrice;
        private float curPrice;
        private float precent;
        private string color;
        private string changeColor;
        private int index;
        private float initPrice;
        public string Name { get => name; set { name = value; this.Notify(); } }
        public string Code { get => code; set { code = value;this.Notify(); } }
        public string Volume { get => volume; set { volume = value; this.Notify(); } }

        public float PrePrice { get => prePrice; set { prePrice = value; this.Notify(); } }
        public float CurPrice { get => curPrice; set { curPrice = value; this.Notify(); } }

        public float Precent { get => precent; set { precent = value; this.Notify(); } }

        public string Color { get => color; set { color = value; this.Notify(); } }

        public string ChangeColor { get => changeColor; set { changeColor = value; this.Notify(); } }

        public int Index { get => index; set { index = value; this.Notify(); } }

        public float InitPrice { get => initPrice; set { initPrice = value; this.Notify(); } }
    }
}
